package com.ustb.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author pyn
 * @date 2022-05-17 11:26:55
 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

@Accessors(chain = true)
@Data
@TableName("tb_answer_listbox")
public class AnswerListboxEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//下拉框答案
	@TableId
	private String id;
	// 用户id  null为匿名用户
	private Integer userId;
	//表单id
	private String formId;
	//问题id
	private String questionId;
	//对应question_option 表
	private String optionId;
	// 填写时间
	private Date createTime;
	//是否提交
	private Boolean isSubmit;

}
